import request from '@/utils/request'

// 查询轮播图/图片配置列表
export function listProconfigimage(query) {
  return request({
    url: '/project/proconfigimage/list',
    method: 'get',
    params: query
  })
}

// 查询轮播图/图片配置详细
export function getProconfigimage(configurationId) {
  return request({
    url: '/project/proconfigimage/' + configurationId,
    method: 'get'
  })
}

// 新增轮播图/图片配置
export function addProconfigimage(data) {
  return request({
    url: '/project/proconfigimage',
    method: 'post',
    data: data
  })
}

// 修改轮播图/图片配置
export function updateProconfigimage(data) {
  return request({
    url: '/project/proconfigimage',
    method: 'put',
    data: data
  })
}

// 删除轮播图/图片配置
export function delProconfigimage(configurationId) {
  return request({
    url: '/project/proconfigimage/' + configurationId,
    method: 'delete'
  })
}
